<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Repetier-Firmware: StepperDriverWithEndstop&lt; stepPin, dirPin, enablePin, invertDir, invertEnable, endstopPin, invertEndstop, minEndstop, endstopPullup &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="icon128.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Repetier-Firmware
   &#160;<span id="projectnumber">1.0.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_stepper_driver_with_endstop.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="class_stepper_driver_with_endstop-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">StepperDriverWithEndstop&lt; stepPin, dirPin, enablePin, invertDir, invertEnable, endstopPin, invertEndstop, minEndstop, endstopPullup &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_drivers_8h_source.html">Drivers.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for StepperDriverWithEndstop&lt; stepPin, dirPin, enablePin, invertDir, invertEnable, endstopPin, invertEndstop, minEndstop, endstopPullup &gt;:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_stepper_driver_with_endstop.png" usemap="#StepperDriverWithEndstop_3C_20stepPin_2C_20dirPin_2C_20enablePin_2C_20invertDir_2C_20invertEnable_2C_20endstopPin_2C_20invertEndstop_2C_20minEndstop_2C_20endstopPullup_20_3E_map" alt=""/>
  <map id="StepperDriverWithEndstop_3C_20stepPin_2C_20dirPin_2C_20enablePin_2C_20invertDir_2C_20invertEnable_2C_20endstopPin_2C_20invertEndstop_2C_20minEndstop_2C_20endstopPullup_20_3E_map" name="StepperDriverWithEndstop_3C_20stepPin_2C_20dirPin_2C_20enablePin_2C_20invertDir_2C_20invertEnable_2C_20endstopPin_2C_20invertEndstop_2C_20minEndstop_2C_20endstopPullup_20_3E_map">
<area href="class_motor_driver_interface.html" alt="MotorDriverInterface" shape="rect" coords="0,0,789,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a6b02f80c75def17eddf7f86515f1ad68"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stepper_driver_with_endstop.html#a6b02f80c75def17eddf7f86515f1ad68">StepperDriverWithEndstop</a> (float _stepsPerMM, float speed, float maxDist)</td></tr>
<tr class="separator:a6b02f80c75def17eddf7f86515f1ad68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc2ae2d84f933a74fbc2c08e3d15a2fe"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stepper_driver_with_endstop.html#acc2ae2d84f933a74fbc2c08e3d15a2fe">initialize</a> ()</td></tr>
<tr class="separator:acc2ae2d84f933a74fbc2c08e3d15a2fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a024c23b4927f2abc7c1569c79a09ed27"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stepper_driver_with_endstop.html#a024c23b4927f2abc7c1569c79a09ed27">endstopHit</a> ()</td></tr>
<tr class="separator:a024c23b4927f2abc7c1569c79a09ed27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf83d4b40a96f982d78403c9a86a7f39"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stepper_driver_with_endstop.html#aaf83d4b40a96f982d78403c9a86a7f39">getPosition</a> ()</td></tr>
<tr class="separator:aaf83d4b40a96f982d78403c9a86a7f39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81023b60c0f5366314e9d728385bb56c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stepper_driver_with_endstop.html#a81023b60c0f5366314e9d728385bb56c">setCurrentAs</a> (float newPos)</td></tr>
<tr class="separator:a81023b60c0f5366314e9d728385bb56c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ae76c2865d3f32bc7666c35e82c51cc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stepper_driver_with_endstop.html#a3ae76c2865d3f32bc7666c35e82c51cc">gotoPosition</a> (float newPos)</td></tr>
<tr class="separator:a3ae76c2865d3f32bc7666c35e82c51cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28b565621dda735f3da4332fcb88407a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stepper_driver_with_endstop.html#a28b565621dda735f3da4332fcb88407a">home</a> (bool goToCurrent, bool onlyIfNotHomed)</td></tr>
<tr class="separator:a28b565621dda735f3da4332fcb88407a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab95e43fbf54e5e7823ce2f980826b88d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stepper_driver_with_endstop.html#ab95e43fbf54e5e7823ce2f980826b88d">enable</a> ()</td></tr>
<tr class="separator:ab95e43fbf54e5e7823ce2f980826b88d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a319d76967eaea1a3f2bb7be16017e4fa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stepper_driver_with_endstop.html#a319d76967eaea1a3f2bb7be16017e4fa">disable</a> ()</td></tr>
<tr class="separator:a319d76967eaea1a3f2bb7be16017e4fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:af2686da103bf58f36ee54982d23d0522"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stepper_driver_with_endstop.html#af2686da103bf58f36ee54982d23d0522">position</a></td></tr>
<tr class="separator:af2686da103bf58f36ee54982d23d0522"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55f89fd285cba5cba244afc8a3a81a30"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stepper_driver_with_endstop.html#a55f89fd285cba5cba244afc8a3a81a30">delayUS</a></td></tr>
<tr class="separator:a55f89fd285cba5cba244afc8a3a81a30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0415312c1843f444b48aa98489331782"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stepper_driver_with_endstop.html#a0415312c1843f444b48aa98489331782">stepsPerMM</a></td></tr>
<tr class="separator:a0415312c1843f444b48aa98489331782"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54ed384365187b220fa69237458feb15"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stepper_driver_with_endstop.html#a54ed384365187b220fa69237458feb15">maxDistance</a></td></tr>
<tr class="separator:a54ed384365187b220fa69237458feb15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87b55097e1589fb3883ac626fa075d0e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_stepper_driver_with_endstop.html#a87b55097e1589fb3883ac626fa075d0e">isHomed</a></td></tr>
<tr class="separator:a87b55097e1589fb3883ac626fa075d0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;int stepPin, int dirPin, int enablePin, bool invertDir, bool invertEnable, int endstopPin, bool invertEndstop, bool minEndstop, bool endstopPullup&gt;<br />
class StepperDriverWithEndstop&lt; stepPin, dirPin, enablePin, invertDir, invertEnable, endstopPin, invertEndstop, minEndstop, endstopPullup &gt;</h3>

<p>Simple class to drive a stepper motor with fixed speed with additional endstop. Min position is 0 and max. position maxDistance. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a6b02f80c75def17eddf7f86515f1ad68"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b02f80c75def17eddf7f86515f1ad68">&#9670;&nbsp;</a></span>StepperDriverWithEndstop()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int stepPin, int dirPin, int enablePin, bool invertDir, bool invertEnable, int endstopPin, bool invertEndstop, bool minEndstop, bool endstopPullup&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_stepper_driver_with_endstop.html">StepperDriverWithEndstop</a>&lt; stepPin, dirPin, enablePin, invertDir, invertEnable, endstopPin, invertEndstop, minEndstop, endstopPullup &gt;::<a class="el" href="class_stepper_driver_with_endstop.html">StepperDriverWithEndstop</a> </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>_stepsPerMM</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>speed</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>maxDist</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a319d76967eaea1a3f2bb7be16017e4fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a319d76967eaea1a3f2bb7be16017e4fa">&#9670;&nbsp;</a></span>disable()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int stepPin, int dirPin, int enablePin, bool invertDir, bool invertEnable, int endstopPin, bool invertEndstop, bool minEndstop, bool endstopPullup&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_stepper_driver_with_endstop.html">StepperDriverWithEndstop</a>&lt; stepPin, dirPin, enablePin, invertDir, invertEnable, endstopPin, invertEndstop, minEndstop, endstopPullup &gt;::disable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="class_motor_driver_interface.html#a456be25e18f028ff5dae9264228dc550">MotorDriverInterface</a>.</p>

</div>
</div>
<a id="ab95e43fbf54e5e7823ce2f980826b88d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab95e43fbf54e5e7823ce2f980826b88d">&#9670;&nbsp;</a></span>enable()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int stepPin, int dirPin, int enablePin, bool invertDir, bool invertEnable, int endstopPin, bool invertEndstop, bool minEndstop, bool endstopPullup&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_stepper_driver_with_endstop.html">StepperDriverWithEndstop</a>&lt; stepPin, dirPin, enablePin, invertDir, invertEnable, endstopPin, invertEndstop, minEndstop, endstopPullup &gt;::enable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="class_motor_driver_interface.html#a69e7c7b822bcc7914a155249da4aa59d">MotorDriverInterface</a>.</p>

</div>
</div>
<a id="a024c23b4927f2abc7c1569c79a09ed27"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a024c23b4927f2abc7c1569c79a09ed27">&#9670;&nbsp;</a></span>endstopHit()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int stepPin, int dirPin, int enablePin, bool invertDir, bool invertEnable, int endstopPin, bool invertEndstop, bool minEndstop, bool endstopPullup&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_stepper_driver_with_endstop.html">StepperDriverWithEndstop</a>&lt; stepPin, dirPin, enablePin, invertDir, invertEnable, endstopPin, invertEndstop, minEndstop, endstopPullup &gt;::endstopHit </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aaf83d4b40a96f982d78403c9a86a7f39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf83d4b40a96f982d78403c9a86a7f39">&#9670;&nbsp;</a></span>getPosition()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int stepPin, int dirPin, int enablePin, bool invertDir, bool invertEnable, int endstopPin, bool invertEndstop, bool minEndstop, bool endstopPullup&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float <a class="el" href="class_stepper_driver_with_endstop.html">StepperDriverWithEndstop</a>&lt; stepPin, dirPin, enablePin, invertDir, invertEnable, endstopPin, invertEndstop, minEndstop, endstopPullup &gt;::getPosition </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="class_motor_driver_interface.html#a3b61d203b4351ea4c132495aeb817086">MotorDriverInterface</a>.</p>

</div>
</div>
<a id="a3ae76c2865d3f32bc7666c35e82c51cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ae76c2865d3f32bc7666c35e82c51cc">&#9670;&nbsp;</a></span>gotoPosition()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int stepPin, int dirPin, int enablePin, bool invertDir, bool invertEnable, int endstopPin, bool invertEndstop, bool minEndstop, bool endstopPullup&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_stepper_driver_with_endstop.html">StepperDriverWithEndstop</a>&lt; stepPin, dirPin, enablePin, invertDir, invertEnable, endstopPin, invertEndstop, minEndstop, endstopPullup &gt;::gotoPosition </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>newPos</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="class_motor_driver_interface.html#add1af7909fcd39986d3667a533764c5b">MotorDriverInterface</a>.</p>

</div>
</div>
<a id="a28b565621dda735f3da4332fcb88407a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a28b565621dda735f3da4332fcb88407a">&#9670;&nbsp;</a></span>home()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int stepPin, int dirPin, int enablePin, bool invertDir, bool invertEnable, int endstopPin, bool invertEndstop, bool minEndstop, bool endstopPullup&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_stepper_driver_with_endstop.html">StepperDriverWithEndstop</a>&lt; stepPin, dirPin, enablePin, invertDir, invertEnable, endstopPin, invertEndstop, minEndstop, endstopPullup &gt;::home </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>goToCurrent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>onlyIfNotHomed</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="class_motor_driver_interface.html#a53344d16c0bb4c6c90ae7b85369eb861">MotorDriverInterface</a>.</p>

</div>
</div>
<a id="acc2ae2d84f933a74fbc2c08e3d15a2fe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc2ae2d84f933a74fbc2c08e3d15a2fe">&#9670;&nbsp;</a></span>initialize()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int stepPin, int dirPin, int enablePin, bool invertDir, bool invertEnable, int endstopPin, bool invertEndstop, bool minEndstop, bool endstopPullup&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_stepper_driver_with_endstop.html">StepperDriverWithEndstop</a>&lt; stepPin, dirPin, enablePin, invertDir, invertEnable, endstopPin, invertEndstop, minEndstop, endstopPullup &gt;::initialize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="class_motor_driver_interface.html#a251d0070d19b61290d73f26d1f6e4501">MotorDriverInterface</a>.</p>

</div>
</div>
<a id="a81023b60c0f5366314e9d728385bb56c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a81023b60c0f5366314e9d728385bb56c">&#9670;&nbsp;</a></span>setCurrentAs()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int stepPin, int dirPin, int enablePin, bool invertDir, bool invertEnable, int endstopPin, bool invertEndstop, bool minEndstop, bool endstopPullup&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_stepper_driver_with_endstop.html">StepperDriverWithEndstop</a>&lt; stepPin, dirPin, enablePin, invertDir, invertEnable, endstopPin, invertEndstop, minEndstop, endstopPullup &gt;::setCurrentAs </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>newPos</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="class_motor_driver_interface.html#aa930597d7cc15c14079b27e693727115">MotorDriverInterface</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a55f89fd285cba5cba244afc8a3a81a30"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55f89fd285cba5cba244afc8a3a81a30">&#9670;&nbsp;</a></span>delayUS</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int stepPin, int dirPin, int enablePin, bool invertDir, bool invertEnable, int endstopPin, bool invertEndstop, bool minEndstop, bool endstopPullup&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t <a class="el" href="class_stepper_driver_with_endstop.html">StepperDriverWithEndstop</a>&lt; stepPin, dirPin, enablePin, invertDir, invertEnable, endstopPin, invertEndstop, minEndstop, endstopPullup &gt;::delayUS</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a87b55097e1589fb3883ac626fa075d0e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a87b55097e1589fb3883ac626fa075d0e">&#9670;&nbsp;</a></span>isHomed</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int stepPin, int dirPin, int enablePin, bool invertDir, bool invertEnable, int endstopPin, bool invertEndstop, bool minEndstop, bool endstopPullup&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_stepper_driver_with_endstop.html">StepperDriverWithEndstop</a>&lt; stepPin, dirPin, enablePin, invertDir, invertEnable, endstopPin, invertEndstop, minEndstop, endstopPullup &gt;::isHomed</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a54ed384365187b220fa69237458feb15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54ed384365187b220fa69237458feb15">&#9670;&nbsp;</a></span>maxDistance</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int stepPin, int dirPin, int enablePin, bool invertDir, bool invertEnable, int endstopPin, bool invertEndstop, bool minEndstop, bool endstopPullup&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float <a class="el" href="class_stepper_driver_with_endstop.html">StepperDriverWithEndstop</a>&lt; stepPin, dirPin, enablePin, invertDir, invertEnable, endstopPin, invertEndstop, minEndstop, endstopPullup &gt;::maxDistance</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="af2686da103bf58f36ee54982d23d0522"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2686da103bf58f36ee54982d23d0522">&#9670;&nbsp;</a></span>position</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int stepPin, int dirPin, int enablePin, bool invertDir, bool invertEnable, int endstopPin, bool invertEndstop, bool minEndstop, bool endstopPullup&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t <a class="el" href="class_stepper_driver_with_endstop.html">StepperDriverWithEndstop</a>&lt; stepPin, dirPin, enablePin, invertDir, invertEnable, endstopPin, invertEndstop, minEndstop, endstopPullup &gt;::position</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a0415312c1843f444b48aa98489331782"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0415312c1843f444b48aa98489331782">&#9670;&nbsp;</a></span>stepsPerMM</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int stepPin, int dirPin, int enablePin, bool invertDir, bool invertEnable, int endstopPin, bool invertEndstop, bool minEndstop, bool endstopPullup&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float <a class="el" href="class_stepper_driver_with_endstop.html">StepperDriverWithEndstop</a>&lt; stepPin, dirPin, enablePin, invertDir, invertEnable, endstopPin, invertEndstop, minEndstop, endstopPullup &gt;::stepsPerMM</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/ArduinoAVR/Repetier/<a class="el" href="_drivers_8h_source.html">Drivers.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_stepper_driver_with_endstop.html">StepperDriverWithEndstop</a></li>
    <li class="footer">Generated on Tue Sep 19 2017 18:54:02 for Repetier-Firmware by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
